// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.QuartzTaskLogDao;
import com.liuxinlong.modules.entity.QuartzTaskLog;
import com.liuxinlong.modules.mapper.QuartzTaskLogMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * QuartzTaskLogDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2024年4月24日
 */
@Service
public class QuartzTaskLogDaoImpl extends ServiceImpl<QuartzTaskLogMapper, QuartzTaskLog> implements QuartzTaskLogDao {

	@Override
	public List<QuartzTaskLog> pageTaskLogList(Map<String, Object> queryParam) {
		return baseMapper.queryTaskLogList(queryParam);
	}

	@Override
	public int getQuartzJobLogsCount(Map<String, Object> queryParam) {
		return baseMapper.getQuartzJobLogsCount(queryParam);
	}
}
